/*
* action 类型
* */
export const type = {
    SWITCH_MENU: 'SWITCH_MENU'
}

export function switchMenu(menuName) {
    console.log('switchMenu', menuName)
    console.log({
        type: type.SWITCH_MENU,
        menuName
    })
    return {
        type: type.SWITCH_MENU,
        menuName
    }
}
